package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TMemberInfoMapper;
import com.hu.zhcc.shiro.entity.lgx.TMemberInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TmemberInfoServiceImpl  implements TmemberInfoService{
    @Autowired
    TMemberInfoMapper tMemberInfoMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tMemberInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TMemberInfo record) {
        return tMemberInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(TMemberInfo record) {
        return tMemberInfoMapper.insertSelective(record);
    }

    @Override
    public TMemberInfo selectByPrimaryKey(Integer id) {
        return tMemberInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TMemberInfo record) {
        return tMemberInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TMemberInfo record) {
        return tMemberInfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public TMemberInfo selectByMemberId(Integer memberId) {
        return tMemberInfoMapper.selectByMemberId(memberId);
    }
}
